From 68c7a872c24314f542345e1b1e468ea99fafedad Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 19 Aug 2007 00:15:26 +0000 Subject: [PATCH] (pure): Round PURESIZE up. --- src/alloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alloc.c b/src/alloc.c index a69f5045713..2947e48f815 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -266,7 +266,7 @@ Lisp_Object Vmemory_full; remapping on more recent systems because this is less important nowadays than in the days of small memories and timesharing. */ -EMACS_INT pure[PURESIZE / sizeof (EMACS_INT)] = {1,}; +EMACS_INT pure[(PURESIZE + sizeof (EMACS_INT) - 1) / sizeof (EMACS_INT)] = {1,}; #define PUREBEG (char *) pure #else /* HAVE_SHM */ -- 2.30.2